import foo from "./foo";

// 从json文件中导入数据
import {version} from "../package.json";

export default function main() {
  console.log(foo);
  console.log(`version: ${version}`);

  import("./bar").then(module => {
    console.log(module);
  });
}